import { UserInterface } from "~/types/user.interface";

export interface MessageInterface {
  context: string;
  createdTime: string;
  id?: string;
  type: string;
  updatedTime?: string;
}

export interface MessageUser {
  user: UserInterface;
  isWei: number;
  message: MessageInterface;
}

export interface UserMessage {
  friend: UserInterface;
  messages: Message[];
}

export interface Message {
  context: string;
  type: string;
  createdTime: string;
  sendUserId: string;
}
